class CreateTransactions < ActiveRecord::Migration
  def change
    create_table :transactions do |t|
      t.decimal :amount
      t.boolean :is_credit
      t.integer :person_id
      t.date :on_date
      t.integer :reference_id
      t.string :reference_type

      t.timestamps
    end
  end
end
